package com.foreknow.trains.train5;

public class Test {
    public static void main(String[] args) {
        Compute add = new ADD();
        Compute sub = new Sub();
        Compute mul = new Mul();
        Compute div = new Div();
        UseCompute com = new UseCompute();
        com.UseCompute(add,3,4);
        com.UseCompute(sub,8,5);
        com.UseCompute(mul,2,3);
        com.UseCompute(div,9,3);
    }
}
